class CreateBangumiWorks < ActiveRecord::Migration
  def self.up
    create_table :bangumi_works do |t|
      t.integer :bangumi_id
      t.integer :work_id
      t.integer :index
    end
  end

  def self.down
    drop_table :bangumi_works
  end
end
